Skip to content

Conversation

nsndeck
Copy link
Contributor

@nsndeck nsndeck commented Feb 16, 2016

No description provided.

private hasComponentStyles: boolean;
constructor(private _rootRenderer: NativeScriptRootRenderer, private componentProto: RenderComponentType) {
super();
let page =<Page>(<any>topmost()).currentPage;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose we move the code that gets the current page to the root renderer and access it from there in child renderers. This will remove the duplication with selectRootElement

@hdeshev
Copy link
Contributor

hdeshev commented Feb 16, 2016

Related to #56

@nsndeck nsndeck force-pushed the nnikolov/ComponentCssSupport branch from 7db2e10 to 58e9fe6 Compare February 16, 2016 14:37
nsndeck pushed a commit that referenced this pull request Feb 16, 2016
Added support for component specific css.
@nsndeck nsndeck merged commit d4e6e58 into master Feb 16, 2016
@nsndeck nsndeck deleted the nnikolov/ComponentCssSupport branch February 16, 2016 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants